class  Student(object):
    def __init__(self,name,score):  #构造函数
        self.name =name
        self.score = score

    def print_score(self):
        print(f'{self.name}的分数为:{self.score:.2f}')

s1 = Student('张三',98)
print(s1.name,s1.score)
s1.print_score()

print('a')